<> IT Compares Introduction ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ IT Compares is one of many modules in the ITs for Clarion series of utilties. IT Compares has been created at the request of Clarion Professional Developer (CPD) developers and at the interest of Clarion Database Developer (CDD) developers. IT Compares' purpose is to support developers in maintaining common file structures across applications and help identify any differences. Developers of applications using Clarion Professional Developer (CPD) must maintain the file structures in each individual APP files. For systems where multiple EXEs are implemented on a similar set of files, this can become an increasingly difficult task as the number of EXEs increases. Since CPD does not support a central data dictionary, the developer must either IMPORT file definitions from a master APP (administratively controlled) or maintain the file definitions through hand coding with or without the use of INCLUDEs. The majority of us have invested in the Clarion development environment in an effort to increase our productivity; and therefore, minimize the amount of hand coding and the amount of required maintenance. IT Compares prompts for the selection of two Clarion source files. Each is validated as a Clarion PROGRAM file. Once the files have been selected, the data declaration sections are text parsed into an internal data structure. Three reports are available on the internal data.  Report on the differences in files, keys, indices, fields, groups, and memos on file labels common to both files.  Report on file components identified in the first file selected not present in the second file selected.  Report on file components identified in the second file selected not present in the first file selected. <> IT Compares Does ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ  Support FILE definitions in the GLOBAL scope.  Support FILE definitions in INCLUDEd files called within the GLOBAL scope. IT Compares Does Not ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ  Support FILE definitions outside of the GLOBAL scope. FILE definitions declared in the LOCAL STATIC scope are not identified. This feature is tagged for a future version release.  As of Clarion Database Developer batch release 3005, the EXTERNAL attribute use on a file declaration is NOT supported in the current release of IT Compares. This deficiency is due to the timing of the 3005 batch release and this release of IT Compares. This feature is tagged for a future version release.  Search the PATH nor use the redirect (RED) file for locating any files within the original source files. This feature is tagged for a future version release. <> ITCOMPAR.INI ÄÄÄÄÄÄÄÄÄÄÄÄ Each of the ITs for Clarion utilizes a set of initialization files (INIs) for selecting end-user modifiable parameters. Each of the pertinent parameters is denoted and discussed hereafter.  GRAPHIC=  Each of the ITs for Clarion operates in a text or graphic environment. This INI parameter is essential in the operation in graphic mode. Provided the value of the GRAPHIC= parameter is ANY value other than YES {GRAPHIC=YES}, the utilty defaults to text mode. Text mode obviously runs more quickly than graphic mode; therefore, if speed is of utmost importance, then set this value to NO {GRAPHIC=NO}. If the value is YES {GRAPHIC=YES}, the IT queries the computer's video for the current mode. If the mode is EGA or VGA, then the graphic parameters are activated immediately. If the video mode is SVGA, then IT sets the video mode to VGA then activates the graphic parameter internal to the program.  CTLpath=  Each IT in the ITs for Clarion series utilizes a set of control (CTL) files. These CTL files are used for controlling the operation of each of the ITs. Normally, the CTL files are placed in the \IT directory; however, they may be moved to an alternate directory. Should you move the CTLs to another directory, the value of this parameter must be modified to include to new path. The default is: CTLpath=C:\IT You might change it to: CTLpath=C:\ITS\CTLS  DemoPath=  ³ ³ Each IT in the ITs for Clarion has a DEMO. Our efforts ³ to provide a completely functional DEMO include allowing ³ the user to establish a customized demo path. ³ <> Supplied Files ÄÄÄÄÄÄÄÄÄÄÄÄÄÄ If you are like us, you want to know what files are supplied and what is their purpose. We hope to provide a listing of file extensions used and their purpose in the following manner. <ÃÄÄÄ EXEs Supplied> *.EXE - Executables Executable files are the program files purchased. Only EXEs required are supplied with the ITs for Clarion series. <ÃÄÄÄ DLLs Supplied> *.DLL - Dynamic Link Libraries Dynamic Link Libraries are supplied as necessary to support the operation of the ITs for Clarion. DLLs required specifically for its operation are supplied on their unique diskette or ZIP file, if accessed via the DTS ***BBS***. DLLs supplied on a separate diskette are Clarion Database Developer (CDD) supporting DLLs for the appropriate batch release. Provided you are running with the same batch as the IT was developed, these DLLs are not required. However, due to the fact that some developers may choose to not upgrade to the latest release of CDD and that others may upgrade to CDD prior to the ITs for Clarion these DLLs are shipped to provide compatibility. <ÃÄÄÄ HLPs Supplied> *.HLP - Help Files ³ ³ Help files contains the MANY-MANY linkage for the Help IDs ³ in the EXE to the help text (TXT) and the help screens. ³ This file is required to be in the PATH for help to function. ³ ³ <ÃÄÄÄ TXTs Supplied> *.TXT - Help Text Files ³ ³ The Clarion Database Developer help system uses ASCII text ³ files for the help system. Unless otherwise noted, ³ Diversified Technology Solutions uses a consistant naming ³ convention for these ASCII text files. The help text file ³ inherits the filename of the associated executable with ³ the TXT extension. For example, COMPARES.TXT is the ASCII ³ help file for COMPARES.EXE. ³ ³ Notice that XTRACEs also contain the TXT extension and are ³ not required for proper operation of the ITs for Clarion. ³ <ÃÄÄÄ INIs Supplied> *.INI - Initialization Files Initialization files are supplied with the ITs for Clarion series providing end-user control of program parameters. <ÃÄÄÄ CTLs Supplied> *.CTL - Control Files Control files are supplied as an integral part of each ITs for Clarion module controlling the operations of the utility. As new features are included or modified, a simple downloading of a new CTL may add addtional features to the IT. All end-user modifiable parameters may be set within the specific INI. <ÀÄÄÄ $$$s Created> *.$$$ - Scratch Files Scratch files are created by the memory management scheme of the TopSpeed DOS extender. Additionally, the ITs for Clarion utilities create scratch files for reporting and supporting purposes. We have opted to use the $$$ extension for these files to help you identify those files which may be deleted without adverse affects. Should a system crash occur during an ITs process, you may remove any of the ITs scratch files without experiencing adverse affects. Be careful to not delete any Clarion scratch files while CDD is running. <
> IT Compares Main Menu ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Files ÄÄÄÄÄ The FILES menu option provides a pulldown of two selections:  Select Files to Compare  Exit Reports ÄÄÄÄÄÄÄ The REPORTS menu option supports the access to reports available to the user. All REPORTS' menu selections are dimmed until the SELECT FILES FOR COMPARE under the FILES menu has been run in its fruition. Should the file selection optoin be initiated then aborted, the REPORTS options are again dimmed. Three reports are available on the interal data: <ÃÄÄÄ Differences in Like Files>  Differences in Like Files Report on the differences in files, keys, indices, fields, groups, and memos on file labels common to both files. <ÃÄÄÄ 1st File Labels NOT in 2nd>  1st File Labels NOT in 2nd Report on file components identified in the first file selected not present in the second file selected. <ÀÄÄÄ 2nd File Labels NOT in 1st>  2nd File Labels NOT in 1st Report on file components identified in the second file selected not present in the first file selected. About ÄÄÄÄÄ The About menu selection displays a simple screen containing general information regarding the product including but not limited to the developer and version. Help ÄÄÄÄ The Help menu selection retrieves a general help screen with additional information pertaining to this IT. <